Mega Code Archive

Categories
1) Android
2) ASP.Net
3) ASP.Net Tutorial
4) C
5) C Tutorial
6) C#
7) C# Book
8) C# by API
9) C# Tutorial
10) C++
11) C++ Tutorial
12) Delphi
13) Flash ActionScript
14) Flex
15) Java
16) Java Book
17) Java by API
18) Java Tutorial
19) JavaScript DHTML
20) JavaScript Reference
21) JavaScript Tutorial
22) MSOfficeExcel 2007 Tutorial
23) MSOfficePowerPoint 2007 Tutorial
24) MSOfficeWord 2007 Tutorial
25) MSSQL
26) MSSQL Tutorial
27) MySQL
28) MySQL Tutorial
29) Oracle PLSQL
30) Oracle PLSQL Tutorial
31) Perl
32) Php
33) PostgreSQL
34) Python
35) Python Tutorial
36) Ruby
37) Silverlight
38) VB.Net
39) VB.Net by API
40) VB.Net Tutorial
41) Visual C++ .NET
42) VisualBasic Script
43) XML
44) XML Tutorial
 
Java
1) 2D Graphics GUI
2) 3D Graphics
3) Advanced Graphics
4) Ant
5) Apache Common
6) Applet
7) Awt
8) Beginners Lab
9) Chart
10) Class
11) Collections Data Structure
12) Core
13) Data Type
14) Database SQL JDBC
15) Date Time
16) Design Pattern
17) Development Class
18) EJB3
19) Email
20) Event
21) File Input Output
22) Game
23) Generics
24) GWT
25) Hibernate
26) Internationalization
27) J2EE
28) J2ME
29) JDBC
30) JDK
31) JNDI LDAP
32) JPA
33) JSP
34) JSTL
35) Language Basics
36) Learning
37) Mathematics
38) Network Protocol
39) PDF RTF
40) Reflection
41) Regular Expressions
42) Scripting
43) Security
44) Servlets
45) Session
46) Sound
47) Spring
48) Swing Components
49) Swing JFC
50) SWT Jface Eclipse
51) Threads
52) Tiny Application
53) Util
54) Velocity
55) Web Services SOA
56) XML
Generics
1) A collection that do not hold stored elements in memory, but serialize it into a file
2) A generic bag of properties used to store properties that apply to a specific target
3) A generic interface example
4) A list declared to hold objects of a type T can also hold objects that extend from T
5) A nongeneric class can be the superclass of a generic subclass
6) A simple generic class
7) A simple generic class hierarchy
8) A simple generic class with two type parameters
9) A subclass can add its own type parameters
10) A value retrieved from a type-specific list does not need to be casted
11) Bounded Wildcard arguments
12) Boxing Generic Example
13) Circular Object Buffer
14) Collections and Data structure
15) Compare two generic parameters
16) Create a generic class that can compute the average of an array of numbers of any given type
17) Create a typesafe copy of a raw list
18) Create a typesafe copy of a raw map
19) Create a typesafe copy of a raw set
20) Create a typesafe filter of an unchecked enumeration
21) Create a typesafe filter of an unchecked iterator
22) Create a typesafe view over an underlying raw map
23) Create a typesafe view over an underlying raw set
24) Creating a Type-Specific List
25) Custom Generic Object Tester
26) Data structure and collections
27) Default implementation of {@link java lang reflect ParameterizedType}
28) Demonstrate a raw generic type
29) Demonstrate a raw type
30) Demonstrate a simple generic method
31) Demonstrate the non generic class
32) Enum and Generic
33) Foreach and generic data structure
34) Generic ArrayList
35) Generic cast
36) Generic Data Structure
37) Generic HashMap
38) Generic Pair
39) Generic pair structure
40) Generic Reflection Test
41) Generic Stack
42) Generic structure with constraints
43) Generic Triple structure
44) Get Generic Parameter
45) Get the Generic definition from a class for given class with given index
46) Interface Generic (Has compile error)
47) Java generic
48) Java hierarchy generic class
49) Overriding a generic method in a generic class
50) Pair of template arguments
51) Pool container
52) Pre generics example that uses a collection
53) Return an implementation of a Comparable
54) Return generic value from method
55) Simple STL Pair Implementation
56) Stats attempts (unsuccessfully) to create a generic class
57) T is a type parameter that will be replaced by a real type when an object of type Gen is created
58) The GenStack Class
59) The type argument for T must be either Number, or a class derived from Number
60) Unchecked Example
61) Use a generic constructor
62) Use a wildcard
63) Use the instanceof operator with a generic class hierarchy